//
//  HBMacros.h
//  Pods
//
//  Created by 韩冰 on 2017/11/13.
//

#ifndef HBMacros_h
#define HBMacros_h
#define GlobalBuleColor [UIColor HB_ColorWithHexString:@"#3eabf9"] //登陆蓝色
#define MM_SPLIT_WIDTH      (1/[UIScreen mainScreen].scale)
#define WEAKSELF __typeof(self) __weak weakSelf = self;
#define STRONGSELF __typeof(weakSelf) __strong strongSelf = weakSelf;
#define THEAPP          [UIApplication sharedApplication].delegate
#define SCREEN_WIDTH ([[UIScreen mainScreen] bounds].size.width)
#define SCREEN_HEIGHT ([[UIScreen mainScreen] bounds].size.height)

// 黑一
#define GlobalBlackOneColor [UIColor HB_ColorWithHexString:@"#000000"]
// 黑二
#define GlobalBlackTwoColor [UIColor HB_ColorWithHexString:@"#333333"]
#define GlobalGrayOneColor [UIColor HB_ColorWithHexString:@"#d4d6d7"]
#define GlobalGrayTwoColor [UIColor HB_ColorWithHexString:@"#c1c1c2"]
#define GlobalLineColor [UIColor HB_ColorWithHexString:@"#d3d4d4"]

// 判断是否为iPhone 6Plus/6sPlus
#define iPhoneX [[UIScreen mainScreen] bounds].size.width == 414.0f && [[UIScreen mainScreen] bounds].size.height == 736.0f


#define FLDEBUG YES
#ifdef FLDEBUG
#define DLOG(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define DLOG(...)
#endif
#endif /* HBMacros_h */
